read sequence or as an indication that the device is
not receiving data.
Byte Write: A byte write consists of 8 bits of informa-
tion transferred from the master to the slave (most sig-
nificant bit first) plus a 1-bit acknowledgement from
the slave to the master. The 8 bits transmitted by the
master are done according to the bit-write definition,
and the acknowledgement is read using the bit-read
definition.
Byte Read: A byte read is an 8-bit information trans-
fer from the slave to the master plus a 1-bit ACK or
NACK from the master to the slave. The 8 bits of
information that are transferred (most significant bit
first) from the slave to the master are read by the
master using the bit read definition above, and the
master transmits an ACK using the bit write defini-
tion to receive additional data bytes. The master
must NACK the last byte read to terminated commu-
nication so the slave will return control of SDA to the
master.
Slave Address Byte: Each slave on the I2C bus
responds to a slave address byte sent immediately fol-
lowing a START condition. The slave address byte
contains the slave address in the most significant 7
bits and the R/W bit in the least significant bit. The
DS4412’s slave address is 90h.
When the R/W bit is 0 (such as in 90h), the master is
indicating it will write data to the slave. If R/W = 1
(91h in this case), the master is indicating it wants to
read from the slave. If an incorrect slave address is
written, the DS4412 assumes the master is commu-
nicating with another I2C device and ignores the
communication until the next START condition is
sent.
Memory Address: During an I2C write operation,
the master must transmit a memory address to iden-
tify the memory location where the slave is to store
the data. The memory address is always the second
byte transmitted during a write operation following
the slave address byte.
I2C Communication
Writing to a Slave: The master must generate a START
condition, write the slave address byte (R/W = 0), write
the memory address, write the byte of data, and gener-
ate a STOP condition. Remember that the master must
read the slave’s acknowledgement during all byte-write
operations.
Reading from a Slave: To read from the slave, the
master generates a START condition, writes the slave
address byte with R/W = 1, reads the data byte with a
NACK to indicate the end of the transfer, and generates
a STOP condition.
SLAVE
ADDRESS
START
1
0
1
0
R/W
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
MSB
LSB
MSB
LSB
MSB
LSB
b7
b6
b5
b4
b3
b2
b1
b0
READ/
WRITE
REGISTER/MEMORY ADDRESS
b7
b6
b5
b4
b3
b2
b1
b0
DATA
STOP
SINGLE BYTE WRITE
-WRITE RESISTOR
F9h TO 00h
SINGLE BYTE READ
-READ RESISTOR F8h
START
REPEATED
START
90h
MASTER
NACK
STOP
1 0010000
11111 000
F8h
10010 001
1 0010000
11111 001
90h
F9h
STOP
DATA
EXAMPLE I2C TRANSACTIONS
TYPICAL I2C WRITE TRANSACTION
00 000 000
90h
A)
B)
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
Figure 2. I2C Communication Examples
DS4412
Dual-Channel, I2C Adjustable
Sink/Source Current DAC
8
_______________________________________________________________________________________
相关PDF资料
DS4424N+ IC DAC 7BIT 4CH 5.5V 14-TDFN
DS4425BN+ IC OSC CLOCK 425MHZ 10-LCCC
DS4426T+T&R IC DAC I2C-MARGINING 4CH 28-TQFN
DS4432U+ IC DAC 7BIT 2CH 5.5V 8-MSOP
DS4625P+150/200 IC OSC CLOCK 200MHZ 10-LCCC
DS4M133D+33 IC OSC CLOCK 133.33MHZ 10-LCCC
DS8005-RRX+ SMART CARD AFE DUAL 28SOIC
DSD1792DB IC 24BIT STEREO AUD DAC 28-SSOP
相关代理商/技术参数
DS4412U+T&R 制造商:Maxim Integrated Products 功能描述:DAC 2CH 4BIT 8USOP - Tape and Reel 制造商:Maxim Integrated Products 功能描述:IC DAC DUAL CH I2C ADJ 8-USOP
DS4412U+T&R 功能描述:数模转换器- DAC 2 Ch I2C Adj Sink/Source Current RoHS:否 制造商:Texas Instruments 转换器数量:1 DAC 输出端数量:1 转换速率:2 MSPs 分辨率:16 bit 接口类型:QSPI, SPI, Serial (3-Wire, Microwire) 稳定时间:1 us 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:SOIC-14 封装:Tube
DS4412U+TR 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:Dual-Channel, I2C Adjustable Sink/Source Current DAC
DS4412UR 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:Dual-Channel, I2C Adjustable Sink/Source Current DAC
DS4412UT 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:Dual-Channel, I2C Adjustable Sink/Source Current DAC
DS441405-BA 功能描述:CAP FILM 4UF 440VAC QC TERM RoHS:是 类别:电容器 >> 薄膜 系列:PMF 特色产品:ECW-H(C) Series Film Capacitors 标准包装:100 系列:ECW-H(C) 电容:0.33µF 额定电压 - AC:- 额定电压 - DC:630V 电介质材料:聚丙烯,金属化 容差:±3% ESR(等效串联电阻):- 工作温度:-40°C ~ 105°C 安装类型:通孔 封装/外壳:径向 尺寸/尺寸:0.815" L x 0.579" W(20.70mm x 14.70mm) 高度 - 座高(最大):1.028"(26.10mm) 端子:PC 引脚 引线间隔:0.394"(10.00mm) 特点:高频和高稳定性 应用:- 包装:散装 其它名称:ECWH6334HCBP15432
DS4414FP00K 制造商:Thomas & Betts 功能描述:400A,CON,3P4W,MG,414,3P600V,CC
DS4414FR000 制造商:Thomas & Betts 功能描述:400A,REC,3P4W,MG,414,3P600V